package com.tarena.practice.web.mapper;

import com.tarena.practice.common.mapper.MyMapper;
import com.tarena.practice.web.pojo.User;

public interface UserMapper extends MyMapper<User>{

	int checkUsername(String username);

	int insertUser(User user);

	int findIdByUsername(String username);

	void activeByUsernameAndEmail(String username, String email);
	
}
